package pers.lonestar.framework.utils.support.converters;

import pers.lonestar.framework.utils.support.enums.CellDataTypeEnum;
import pers.lonestar.framework.utils.support.metadata.CellData;

public class NullConverter implements Converter {
    @Override
    public Object convertToJavaObject(CellData cellData) {
        return null;
    }

    @Override
    public CellData convertToCellData(Object data) {
        CellData cellData = new CellData();
        cellData.setType(CellDataTypeEnum.EMPTY);
        return cellData;
    }
}
